package com.ruoyi.wfshou.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 物流技术类项目对象 proj_logistics
 * 
 * @author zongying
 * @date 2023-06-19
 */
public class ProjLogistics extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 项目编号 */
    @Excel(name = "项目编号")
    private Long projId;

    /** 物流技术编号 */
    private Long logisId;

    /** 运输产品编号 */
    @Excel(name = "运输产品编号")
    private Long prodId;
    @Excel(name = "项目名称")
    private String projName;
    @Excel(name = "运输产品名称")
    private String prodName;
    @Excel(name = "运输技术名称")
    private String logisName;
    @Excel(name = "负责人编号")
    private Long userId;

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    /** 运输速率 */
    @Excel(name = "运输速率")
    private BigDecimal logisSpeed;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getProjName() {
        return projName;
    }

    public void setProjName(String projName) {
        this.projName = projName;
    }

    public String getProdName() {
        return prodName;
    }

    public void setProdName(String prodName) {
        this.prodName = prodName;
    }

    public String getLogisName() {
        return logisName;
    }

    public void setLogisName(String logisName) {
        this.logisName = logisName;
    }

    /** 运输损耗率 */
    @Excel(name = "运输损耗率")
    private BigDecimal logisLoss;

    /** 产品质保度（0：优 1：良 2：差） */
    @Excel(name = "产品质保度", readConverterExp = "0=：优,1=：良,2=：差")
    private BigDecimal retain;

    /** 运输成本 */
    @Excel(name = "运输成本")
    private BigDecimal logisCost;

    public void setProjId(Long projId) 
    {
        this.projId = projId;
    }

    public Long getProjId() 
    {
        return projId;
    }
    public void setLogisId(Long logisId) 
    {
        this.logisId = logisId;
    }

    public Long getLogisId() 
    {
        return logisId;
    }
    public void setProdId(Long prodId) 
    {
        this.prodId = prodId;
    }

    public Long getProdId() 
    {
        return prodId;
    }
    public void setLogisSpeed(BigDecimal logisSpeed) 
    {
        this.logisSpeed = logisSpeed;
    }

    public BigDecimal getLogisSpeed() 
    {
        return logisSpeed;
    }
    public void setLogisLoss(BigDecimal logisLoss) 
    {
        this.logisLoss = logisLoss;
    }

    public BigDecimal getLogisLoss() 
    {
        return logisLoss;
    }
    public void setRetain(BigDecimal retain) 
    {
        this.retain = retain;
    }

    public BigDecimal getRetain() 
    {
        return retain;
    }
    public void setLogisCost(BigDecimal logisCost) 
    {
        this.logisCost = logisCost;
    }

    public BigDecimal getLogisCost() 
    {
        return logisCost;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("projId", getProjId())
            .append("logisId", getLogisId())
            .append("prodId", getProdId())
            .append("logisSpeed", getLogisSpeed())
            .append("logisLoss", getLogisLoss())
            .append("retain", getRetain())
            .append("logisCost", getLogisCost())
                .append("logisName",getLogisName())
                .append("projName",getProjName())
                .append("prodName",getProdName())
                .append("userId",getUserId())
            .toString();
    }
}
